import * as types from '../../const/actionTypes'


//登录成功
export function LOGIN_SUCCESS(loginToken,userId,name,avatar) {
    return {
        type:types.LOGIN_SUCCESS,
        loginToken,
        userId,
        name,
        avatar
    }
}